package com.cskaoyan.bean.po;

import com.cskaoyan.bean.marketBean.*;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;


@NoArgsConstructor
@Data
public class ZYL_admin_comment_detail {
    @JsonProperty("categoryIds")
    private Integer[] categoryIds;
    @JsonProperty("goods")
    private MarketGoods goods;
    @JsonProperty("attributes")
    private List<MarketGoodsAttribute> attributes;
    @JsonProperty("specifications")
    private List<MarketGoodsSpecification> specifications;
    @JsonProperty("products")
    private List<MarketGoodsProduct> products;



       /* @NoArgsConstructor
        @Data
        @AllArgsConstructor
        public static class GoodsDTO {
            @JsonProperty("id")
            private Integer id;
            @JsonProperty("goodsSn")
            private String goodsSn;
            @JsonProperty("name")
            private String name;
            @JsonProperty("categoryId")
            private Integer categoryId;
            @JsonProperty("brandId")
            private Integer brandId;
            @JsonProperty("gallery")
            private List<String> gallery;
            @JsonProperty("keywords")
            private String keywords;
            @JsonProperty("brief")
            private String brief;
            @JsonProperty("isOnSale")
            private Boolean isOnSale;
            @JsonProperty("sortOrder")
            private Integer sortOrder;
            @JsonProperty("picUrl")
            private String picUrl;
            @JsonProperty("isNew")
            private Boolean isNew;
            @JsonProperty("isHot")
            private Boolean isHot;
            @JsonProperty("unit")
            private String unit;
            @JsonProperty("counterPrice")
            private Integer counterPrice;
            @JsonProperty("retailPrice")
            private Integer retailPrice;
            @JsonProperty("addTime")
            private String addTime;
            @JsonProperty("updateTime")
            private String updateTime;
            @JsonProperty("deleted")
            private Boolean deleted;
            @JsonProperty("detail")
            private String detail;
        }*/

       /* @NoArgsConstructor
        @Data
        public static class SpecificationsDTO {
            @JsonProperty("id")
            private Integer id;
            @JsonProperty("goodsId")
            private Integer goodsId;
            @JsonProperty("specification")
            private String specification;
            @JsonProperty("value")
            private String value;
            @JsonProperty("picUrl")
            private String picUrl;
            @JsonProperty("addTime")
            private String addTime;
            @JsonProperty("updateTime")
            private String updateTime;
            @JsonProperty("deleted")
            private Boolean deleted;
        }*/

       /* @NoArgsConstructor
        @Data
        public static class ProductsDTO {
            @JsonProperty("id")
            private Integer id;
            @JsonProperty("goodsId")
            private Integer goodsId;
            @JsonProperty("specifications")
            private List<String> specifications;
            @JsonProperty("price")
            private Integer price;
            @JsonProperty("number")
            private Integer number;
            @JsonProperty("url")
            private String url;
            @JsonProperty("addTime")
            private String addTime;
            @JsonProperty("updateTime")
            private String updateTime;
            @JsonProperty("deleted")
            private Boolean deleted;
        }*/
}

